package com.jy.appmarket.network.engine;

import java.util.Map;

import android.content.Context;

import com.jy.appmarket.network.resultdata.PageResult;

/**
 * 类说明：
 * 
 * @author Toby.chen
 * @date 2013-6-3
 * @version 1.0
 */

public class CategoryNetEngine extends BaseNetEngine {

	private String mPath;
	private int mPage;

	public CategoryNetEngine(String path, int page) {
		mPage = page;
		mPath = path;
		mResultData = new PageResult();
	}

	@Override
	protected String getCommand() {
		return mPath;
	}

	@Override
	protected void getParams(Context context, Map<String, String> custParams) {
		custParams.put("pageNo", String.valueOf(mPage));
	}

}
